# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=binex
pkgver=1.0
pkgrel=2
groups=('blackarch' 'blackarch-exploitation' 'blackarch-automation')
pkgdesc='Format String exploit building tool.'
url='http://www.morxploit.com/morxtool'
arch=('x86_64' 'aarch64')
license=('custom:unknown')
source=("https://web.archive.org/web/20160908064807/http://morxploit.com:80/morxtools/$pkgname.cc")
sha512sums=('6b64c8b6ebce6be8b8bce3c3ae2d4e19ead605e5c21b6868fc6c82b14463be8d1291f836efb821fe787ef8a630e7e200d442fa41aa70a40819edf09d85ff2f89')

build() {
  g++ "$pkgname.cc" -o $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

